package cn.ac.radi.userver.umodel.entity;


import cn.ac.radi.userver.umodel.constant.ResultCodeConstant;
import cn.ac.radi.userver.umodel.constant.ResultStateConstant;

/**
 * 运行结果
 */
public class RunResult {

    public RunResult(String state, int code){
        this.state = state;
        this.code = code;
    }

    /**
     * 运行结果状态
     */
    private String state = ResultStateConstant.SUCCESS;
    /**
     * 运行结果状态代码
     */
    private int code = ResultCodeConstant.SUCCESS;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
